<template>
  <div class="content mt-1">
    <!-- 空标签撑高 -->
    <div style="height: 10px"></div>
    <!-- 线样式 -->
    <div style="padding: 0 15px">
      <div class="start"></div>
      <div class="data">
        {{ data.desc }}
      </div>
      <!-- 右线样式 -->
      <div class="end"></div>
      <p style="font-size: 14px">{{ props.imageslist.key }}</p>
    </div>
    <!-- 穿着效果 -->
    <van-image
      v-for="(item, index) in props.imageslist.list"
      :key="index"
      :src="item"
    > 
   </van-image> 
  </div>
</template>

<script setup="props">
import { defineProps } from 'vue'
const props = defineProps(['data','imageslist'])
</script>

<style scoped lang="scss">
.content{
  border-bottom: 7px solid #F2F5F8;
}
.data {
  padding: 15px 0;
  font-size: 14px;
  color: #666;
}
.start {
  width: 90px;
  height: 1px;
  background-color: #a3a3a5;
  position: relative;
}
.start::before {
  content: "";
  position: absolute;
  width: 5px;
  height: 5px;
  background-color: #333;
  bottom: 0;
}
.end {
  width: 90px;
  height: 1px;
  background-color: #a3a3a5;
  position: relative;
  float: right;
}
.end::after {
  content: "";
  position: absolute;
  width: 5px;
  height: 5px;
  background-color: #333;
  bottom: 0;
  right: 0;
}
</style>